package com.ziyun.erp.modules.order.vo;

import com.utility.New;

import java.util.Map;

/**
 * @author gaosheng
 * @date 2018-10-05 11:18
 */
public class QuoteProductInfoParamVo {

	/** 部件Id */
	private Integer partsId;

	/** 部件名称*/
	private String partsName;

	/** 基础参数 */
	private Map<String, Object> basicParam = New.linkedHashMap();

	/** 工艺参数 */
	private Map<String, Object> craftParam = New.linkedHashMap();

	public static QuoteProductInfoParamVo valueOf(String partsName, Map<String, Object> basicParam,
                                                  Map<String, Object> craftParam) {
		QuoteProductInfoParamVo quoteParamVO = new QuoteProductInfoParamVo();
		quoteParamVO.partsName = partsName;
		quoteParamVO.basicParam = basicParam;
		quoteParamVO.craftParam = craftParam;
		return quoteParamVO;
	}

	public Integer getPartsId() {
		return partsId;
	}

	public void setPartsId(Integer partsId) {
		this.partsId = partsId;
	}

	public String getPartsName() {
		return partsName;
	}

	public void setPartsName(String partsName) {
		this.partsName = partsName;
	}

	public Map<String, Object> getBasicParam() {
		return basicParam;
	}

	public void setBasicParam(Map<String, Object> basicParam) {
		this.basicParam = basicParam;
	}

	public Map<String, Object> getCraftParam() {
		return craftParam;
	}

	public void setCraftParam(Map<String, Object> craftParam) {
		this.craftParam = craftParam;
	}

}
